package cmpe451.group7.ourcity.service;

import java.util.Date;
import java.util.List;

import cmpe451.group7.ourcity.entity.Place;
import cmpe451.group7.ourcity.entity.Tag;
import cmpe451.group7.ourcity.entity.User;

public interface PlaceService {

	// public List<Place> searchAndFillTags(String placeName, String country,
	// String city, double latitude, double longitude, Date fromDate,
	// Date toDate, List<Tag> tags);

	public Place findAndFillTags(long placeID);

	public void likePlace(User u, Place p);

	public void saveOrUpdate(Place place);

	/**
	 * Loads the place with its tags and multimedia collection
	 * 
	 * @param placeId
	 * @return
	 */
	public Place findAndFillTagsAndMultimediaId(int placeId);

	public Place createPlace(String placeName, String country, String city,
			int likeCount, double latitude, double longitude,
			Date creationDate, List<Tag> tags, User user);
}
